Skip to content

Conversation

@eth3lbert
Copy link
Contributor

@eth3lbert eth3lbert commented Mar 27, 2025

I downloaded the css from both production and staging and prettified them to inspect the differences. I noticed that the missing parts were all nesting rules! Therefore, I dug into it a little bit and explicitly enabled the postcss nesting-rules feature to see if it worked as expected. With the feature turned on, the generated minified css has the same hash as the production version, which shows that it does work! Though I still have no idea why it worked before but failed in the latest deployment 😅.

Fixes #10908.

@eth3lbert eth3lbert added C-bug 🐞 Category: unintended, undesired behavior A-frontend 🐹 labels Mar 27, 2025
@eth3lbert eth3lbert requested a review from LawnGnome March 27, 2025 23:53
@LawnGnome LawnGnome merged commit 4e6ab41 into rust-lang:main Mar 28, 2025
10 checks passed
@eth3lbert eth3lbert deleted the fix-nesting-css branch March 28, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-frontend 🐹 C-bug 🐞 Category: unintended, undesired behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSS regression on staging

2 participants